<span jwcid="@CenteredMainBorder">

	<form jwcid="form@Form" delegate="ognl:defaultDelegate">
	
		<hidden jwcid="navIdHidden@Hidden" value="ognl:navId"/>
		<hidden jwcid="parentNavIdHidden@Hidden" value="ognl:parentNavId"/>
	
		<table width="700px">
		<tr><td>
			<span jwcid="ErrorReporter@ErrorReporter" title="Errors" delegate="ognl:defaultDelegate"/> 
		</td></tr>
		
		<tr><td>
			<table class="AdminTable">
				<tr><th colspan="2">
					Test Options
				</th></tr>
				
				<tr><td>
					Title:
				</td><td>
					<span jwcid="testTitle@TextField" maxlength="255" autocomplete="off" value="ognl:testData.name"/>
				</td></tr>
				
				<tr><td colspan="2">
					<span jwcid="testCertificateEmailCB@Checkbox" value="ognl:testData.emailCertificate"/> Email Certificate to Test Taker				
				</td></tr>
				
				<tr><td colspan="2">
					<span jwcid="randomizeQuestionsCB@Checkbox" value="ognl:testData.randomizeQuestions"/> Randomize Questions
				</td></tr>
				
				<tr><td colspan="2">
					<span jwcid="randomizeAnswersCB@Checkbox" value="ognl:testData.randomizeAnswers"/> Randomize Answers
				</td></tr>
				
				<tr><td>
					Use # of Questions:
				</td><td>
					<span jwcid="numberOfQuestionsPS@PropertySelection" model="ognl:numberOfQuestionsPSModel" value="ognl:testData.numberOfQuestionsToUse"/>
				</td></tr>
				
				<tr><td>
					Continue with # Correct:
				</td><td>
					<span jwcid="numberToPassPS@PropertySelection" model="ognl:numberToPassPSModel" value="ognl:testData.numberCorrectToPass"/>
				</td></tr>
				
				<tr><td>
					<span jwcid="@FieldLabel" field="component:numberingStart">Test numbering starts at:</span>
				</td><td>
					<span jwcid="numberingStart@TextField" maxlength="255" displayName="Test numbering starts at:"  value="ognl:numberingStart"/>
				</td></tr>
				
				<tr><td>
					Test Correction:
				</td><td>
					<!-- span jwcid="highlightWrongAnswerCB@Checkbox" value="ognl:testData.highlightWrongAnswer"/> Highlight the Incorrect Question(s)*<Br -->
					<span jwcid="clearIncorrectAnswerCB@Checkbox" value="ognl:testData.clearIncorrectAnswer"/> Clear the Incorrect Answer(s)*<Br>
					<!--   span jwcid="buildAlertWrongAnswerCB@Checkbox" value="ognl:testData.buildWrongAnswerResponse"/> Alert User of Wrong Answers (build response)<br -->
					<span class="note">*will only highlight if the user has not passed the test</span>
				</td></tr>
				
				
				<tr><td colspan="2">
					<span jwcid="logTestResultsCB@Checkbox" value="ognl:testData.logTestResults"/>Test is Bookmarkable (User can page-in past this test upon return)<Br>
				</td></tr>
				
				<tr><td colspan="2">
					<span jwcid="nextButtonEnabledCB@Checkbox" value="ognl:testData.activateNextButton"/>Enable 'Next' button (User will be able to skip test scoring after at least one submit)<Br>
				</td></tr>
				
				<tr><td>
					<span jwcid="instructionsFieldLabel@FieldLabel" field="component:instructionsTextArea">Test Instructions:</span>
					</td>
					<td>
						<span jwcid="instructionsTextArea@TextArea" displayName="Test Instructions:" validators="validators:maxLength=4000"  rows="3" cols="60" value="ognl:testData.instructions"/>
					</td>
				</tr>
				
				
				
				
			</table>
		</td></tr>
			<tr><td>
					<ol jwcid="@Any" element="ol" start="ognl:testData.numberStartAt">
					<span jwcid="questionFor@For" element="li" keyExpression="questionOrder" source="ognl:testData.questions" value="ognl:question">
					<img jwcid="deleteQuestionSubmit@ImageSubmit" parameters="ognl:{question.questionOrder, question.id}" image="asset:deleteImage" onClick="ognl:'return confirm(\'Are you sure you want to delete this question?  This action cannot be reversed.\')'" action="listener:deleteQuestion"/>
					<span jwcid="questionInsert@TextArea" displayName="Highlighted Question" validators="validators:maxLength=4000" autocomplete="off" rows="3" cols="65" value="ognl:question.question"/>
					
					
						<table><tr><td>
						<table class="AdminTable">
							<tr><th>
								Answer Type
							</th></tr>
							<tr><td>
								<span jwcid="multipleSingleRadioGroup@RadioGroup" selected="ognl:question.multipleAnswer">
									<span jwcid="SingleAnswerTypeRadio@Radio" value="ognl:false"/>Single
									<span jwcid="multipleAnswerTypeRadio@Radio" value="ognl:true"/>Multiple
									
								</span>
							</td></tr>
						</table>
						</td><td>
						
						<span jwcid="responseFieldLabel@FieldLabel" field="component:incorrectResponseTextArea">Incorrect Response:</span><br><span jwcid="incorrectResponseTextArea@TextArea" displayName="Incorrect Response:" validators="validators:maxLength=4000" autocomplete="off" rows="3" cols="55" value="ognl:question.incorrectResponse"/>
						
						</td></tr></table>
					
						<ol type="A">
							<span jwcid="answerFor@For" element="li" keyExpression="answerOrder" source="ognl:question.answers" value="ognl:answer">
								<img jwcid="deleteAnswerSubmit@ImageSubmit" parameters="ognl:{question.questionOrder, answer.answerOrder, answer.id}" image="asset:deleteImage" onClick="ognl:'return confirm(\'Are you sure you want to delete this answer?  This action cannot be reversed.\')'" action="listener:deleteAnswer"/>
								<span jwcid="correctAnswerCheckbox@Checkbox" value="ognl:answer.correct"/>
								<span jwcid="answerInsert@TextArea" displayName="Highlighted Answer" validators="validators:maxLength=4000" autocomplete="off" rows="3" cols="60" value="ognl:answer.answer"/>
								
							</span>
						</ol>
						<span jwcid="addAnswerSubmit@Submit" parameters="ognl:{question.questionOrder, question.id}" label="Add New Answer" action="listener:addAnswer"/>
						<br><br>
					</span>
					</ol>
			</td></tr>
			<tr><td>
				<span jwcid="numberOfQuestionsToAddPS@PropertySelection" model="ognl:numberOfQuestionsToAddPSModel" value="ognl:numberOfQuestionsToAdd"/>
				<span jwcid="addQustionSubmit@Submit" label="Add Question(s)" action="listener:addQuestion"/>
			</td></tr>
			<tr><td align="right">
				<span jwcid="saveSubmit@Submit" label="Save" action="listener:saveSubmit"/><span jwcid="cancelSubmit@Submit" label="Cancel" action="listener:cancelSubmit"/><br>
				<span class="note">*If Single is selected then the first marked correct answer will be used</span>
			</td></tr>
		</table>
	</form>
</span>